package cn.tjd.smart_health.provider.mapper;

import cn.tjd.smart_health.common.entity.CheckGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CheckGroupMapper extends BaseMapper<CheckGroup> {
    Integer insertCheckGroupAndCheckItem(@Param("checkgroupid") Integer checkGroupId,@Param("checkitemid") Integer checkItemId);

    Integer deleteCheckGroupAndCheckItem(@Param("checkgroupid") Integer checkGroupId);

    List<Integer> getCheckItems(@Param("checkgroupid") Integer checkGroupId);
}
